package ModelLayer;



import static org.junit.Assert.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;

/**
 * The test class EmployeeTest.
 *
 * @author  (your name)
 * @version (a version number or a date)
 */
public class EmployeeTest
{
    private ModelLayer.Employee employee1;

    /**
     * Default constructor for test class EmployeeTest
     */
    public EmployeeTest()
    {
    }

    /**
     * Sets up the test fixture.
     *
     * Called before every test case method.
     */
    @Before
    public void setUp()
    {
        employee1 = new ModelLayer.Employee("TestName", "TestAddress", "TestPhone", "TestMail", "TestID");
    }

    /**
     * Tears down the test fixture.
     *
     * Called after every test case method.
     */
    @After
    public void tearDown()
    {
    }

    @Test
    public void TestName()
    {
        assertEquals("TestName", employee1.getName());
    }

    @Test
    public void TestAddress()
    {
        assertEquals("TestAddress", employee1.getAddress());
    }

    @Test
    public void TestMail()
    {
        assertEquals("TestMail", employee1.getEmail());
    }

    @Test
    public void TestPhone()
    {
        assertEquals("TestPhone", employee1.getPhone());
    }

    @Test
    public void TestID()
    {
        assertEquals("TestID", employee1.getEmployeeID());
    }
}





